package com.ruoyi.demo.domain.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;

/**
 * 部门对象 demo_dept
 *
 * @author ruoyi
 * @date 2022-01-17
 */
public class DemoDept {
    private static final long serialVersionUID = 1L;

    /**
     * 部门id
     */
    @TableId(value = "dept_id",type = IdType.ASSIGN_ID)
    private String deptId;
    /**
     * 部门id
     */
    private String parentId;

    /**
     * 部门名称
     */
    @Excel(name = "部门名称")
    private String departName;

    /**
     * 删除标志
     */
    private Long delFlag;

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDepartName(String departName) {
        this.departName = departName;
    }

    public String getDepartName() {
        return departName;
    }

    public void setDelFlag(Long delFlag) {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() {
        return delFlag;
    }

    public String getParentId() {
        return parentId;
    }

    public DemoDept setParentId(String parentId) {
        this.parentId = parentId;
        return this;
    }
}
